#pragma once





#include "../../节点.h"
#include "字符串转换.h"

#include "../../../../Core/数据块.h"






class C_插座材质_1D : public C_插座基类 {
public:
	C_插座材质_1D(std::string name);
	~C_插座材质_1D();

	std::vector<S_材质槽>	m_Value;

	void*		f_getData();
	void		f_setData(void* data, int64 ID = -1);
	PyObject*	f_bl_传入数据(PyObject* bl_data);
	PyObject*	f_输出_bl数据(PyObject* bl_data = 0);
};
#define DEF_转换材质_1D插座(socket) dynamic_cast<C_插座材质_1D*>( (socket) )
#define DEF_转换材质_1D插座Value(socket)  *((string*)socket->f_getData())

#define DEF_创建材质_1D插座_I(name)  socket = new C_插座材质_1D( (name) ); f_add插座(socket, E_插座输出方向::e_插座Type_输入);
#define DEF_创建材质_1D插座_O(name)  socket = new C_插座材质_1D( (name) ); f_add插座(socket, E_插座输出方向::e_插座Type_输出);














